package com.alan.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Alan on 17-10-13
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.alan"})
@EnableAutoConfiguration
//@EnableScheduling
//@ImportResource(locations={"classpath:application-bean.xml"})
public class ApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class);
    }

}
